function share(options) {
    console.log("*********JOIN************" + options)
    if (!options.shareId) {
        return
    }
    console.log("*********JOIN************" + options.shareId)
    getApp().http.get('shop-sale-member/join-fans', {
        data: { mid: options.shareId }
    }).then(res => {
        console.log(res, "JOIN resulr*****************")
    }).catch(err => {
    })
    let ps = getCurrentPages()
    ps[ps.length - 1].setData({
        shareId: false
    })
}
module.exports = share